/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine SDK - core/threads
// Copyright (c) 2014.  All Rights Reserved
//
// File:		AEScopedLock.cpp
// Author:		Gianluca Belardelli
// Date:		12/03/2014
//
/////////////////////////////////////////////////////////////////////////
#include <AECore.h>

AEScopedLock::AEScopedLock( AECriticalSection &csSection ) : m_csSection( csSection )
{
	m_csSection.Enter();
}

AEScopedLock::~AEScopedLock( void )
{
	m_csSection.Leave();
}

